Pressure volume loop analysis